//MementoKeeper.java
package memento.whitebox;

import java.util.Stack;

/**
 *@author:youtubezou
 *@version:2012-8-16
 */
public class MementoKeeper
{
	private Stack<Memento> mementoes = new Stack<>();
	
	public void pushMemento(Memento memento)
	{
		mementoes.push(memento);
	}
	
	public Memento popMemento()
	{
		return mementoes.pop();
	}
	
}
